component accessors="true" extends="controllerbase" {
	property category;
	this.entityObj = "category";

	//分类的list需要重写
	public void function list(rc){
		rc.json = variables.category.list(rc);
		variables.fw.renderData('json', rc.json);
	}

	public void function listtree(rc){
		rc.json = variables.category.listtree(rc);
		variables.fw.renderData('json', rc.json);
	}

	public void function getlistbytarget(rc){
		rc.json = variables.category.getlistbytarget(rc);
		variables.fw.renderData('json', rc.json);
	}

}